package com.osgix.authorize.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.osgix.authorize.model.RolePrivilege;
import com.osgix.authorize.dao.RolePrivilegeDao;

import com.osgix.authorize.model.UserInfo;
import com.osgix.common.service.BaseManager;

import com.osgix.common.orm.ibatis.BaseIbatisDao;
import org.springframework.stereotype.Repository;

public interface RolePrivilegeManager extends BaseManager<RolePrivilege,Long> {

	/**增加setXXXX()方法,spring就可以通过autowire自动设置对象属性,请注意大小写*/
	public void setRolePrivilegeDao(RolePrivilegeDao dao);
	
	public void saveRolePrivilege(RolePrivilege rolePrivilege);
	
	public void updateRolePrivilege(RolePrivilege rolePrivilege);
	
	
}
